import javax.swing.*;

public class ComboTest {

   public static void main(String[] args) {
      int numItems = Integer.parseInt(args[0]);
      new JComboBox();  // screen out one-time init cost

      Stopwatch timer = new Stopwatch();
      timer.start();
      JComboBox box = new JComboBox();
      for (int i = 0; i < numItems; i++) {
         box.addItem(new Integer(i));
      }
      timer.stop();
      System.out.println(numItems + " items: "+timer.getElapsedTime());
            System.exit(0);

   }
}
